//核心组件配置
//app配置
export interface appConfigType {
    icon: JSX.Element,//桌面图标
    headIcon: JSX.Element, //窗口头部图标
    title: string,// 名称
    name: string, //唯一名称
    windowHeight: number,//窗口高度
    windowWidth: number,//窗口宽度
    windowHidden: boolean,//是否隐藏
    currentPath: string,//当前路由
    windowX?: number,//窗口位置X
    windowY?: number,//窗口位置Y
    isFull: {
        windowX: number,//记录全屏前的位置大小信息
        windowY: number,
        windowHeight: number,
        windowWidth: number,
    } | null//是否全屏
    options: Array<appOptionsConfigType>
    windowCenter: boolean,//是否打开时窗口在最中心
    pages: Array<pagesConfigType>,//窗口路由,
    onDocker: boolean//是否展示在docker上
}

//window路由配置
export interface pagesConfigType {
    path: string,//窗口路由路径
    component: any//
}

//左上角选项
export interface appOptionsConfigType {
    title: string,
    name: string,
    selects: Array<selectItemConfigType>
}

export interface selectItemConfigType {
    title: string,
    name: string,
    handler: Function
}
